<cfsilent>
	<cfscript>
	qQuestions = Event.getValue("questions");
	totalQuestions = qQuestions.recordCount;
	correct = 0;
	index = 1;
	</cfscript>
</cfsilent>
<cfoutput>
	<cfloop query="qQuestions">
		Q#index#: #question# <br />
		You got this question <cfif is_correct>correct<cfelse>wrong</cfif><br />
		<cfscript>
			index = index++;
			if (is_correct) correct++;
		</cfscript>
	</cfloop>
	
	<strong>Your mark for this exam: #NumberFormat((correct/totalQuestions) * 100,"0.00")#</strong>
</cfoutput>